package com.example.statistics.bean

import com.example.statistics.ex.IDialogModel
import java.io.Serializable

/**
 * 海关汇率
 */
data class ExchangeRate(
    val id: Int,
    val date: String,
    var dollar: Double,
    var euro: Double,
) : Serializable

/**
 * 税费
 */
data class Tax(
    val id: Int,
    val taxId: String,
    val name: String,
    val americaTariff: Float,
    val defaultTariff: Float,
    val isWeight: Boolean,
    val valueAddTax: Float
) : IDialogModel {
    override val itemName: String
        get() = "$name($taxId)"
}